package com.lanou.wuyou.gift.list;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.webkit.WebView;

import com.lanou.wuyou.gift.R;

/**
 * Created by dllo on 17/3/25.
 */

public class ListItemWebView extends AppCompatActivity{
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_list_item_web);
        WebView webView = (WebView) findViewById(R.id.list_item_web);
        Intent intent = getIntent();
        int id = intent.getIntExtra("id",0);
        Log.d("ListItemWebView", "id:" + id);
        webView.loadUrl("http://hawaii.liwushuo.com/items/" + id);
    }
}
